package org.imaginedays.java.design.patter.newsimplefactory;

public class CashTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		CashSuper cashSuper = CashFactory.createCashAccept(CashType.cashRebate);
		System.out.println(cashSuper.acceptCash(200));
	}

}
